<!DOCTYPE html>
<html>
  <head>
    <script src='https://cdn.jsdelivr.net/npm/vega@5.22.1'></script>
    <script src='https://cdn.jsdelivr.net/npm/vega-lite@5.6.0'></script>
    <script src='https://cdn.jsdelivr.net/npm/vega-embed@6.21.0'></script>
  </head>
  <body>
    <div id='vis'></div>

    <script type='text/javascript'>
        var request = new XMLHttpRequest();
        request.open("GET", "https://raw.githubusercontent.com/alod83/Data-Storytelling-with-Python-Altair-and-GitHub-Copilot/main/03/vega/json/spec.json", false);
        request.send(null)
        var data = JSON.parse(request.responseText);
        vegaEmbed('#vis', data);
    </script>
  </body>
</html>